package com.hooya.fa.eu.api.bo;

import com.hooya.common.annotation.beancopy.Mapping;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Description 发票信息BO
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2023/12/22
 * @Version 1.0.0
 */
@Data
public class InvoiceBO {

    /**
     * 发票类型
     */
    @Schema(description = "发票类型")
    @Mapping(target = "invoiceType")
    private String type;

    /**
     * 发票id
     */
    @Schema(description = "发票id")
    private String invoiceId;

    /**
     * 发票号
     */
    private String invoiceNo;

    /**
     * 发票日期
     */
    @Schema(description = "发票日期")
    private String invoiceDate;

    /**
     * 发票原始日期
     */
    @Schema(description = "发票原始日期")
    private String reportDate;

    /**
     * 卖家
     */
    @Schema(description = "卖家")
    private String seller;

    /**
     * 买家
     */
    @Schema(description = "买家")
    private String buyer;

    /**
     * 卖家地区
     */
    @Schema(description = "卖家地区")
    private String fromCountry;

    /**
     * 买家地区
     */
    @Schema(description = "买家地区")
    private String toCountry;

    /**
     * 卖家全称
     */
    @Schema(description = "卖家全称")
    private String fullSeller;

    /**
     * 买家全称
     */
    @Schema(description = "买家全称")
    private String fullBuyer;

    /**
     * 不含税价格
     */
    @Schema(description = "不含税价格")
    @Mapping(target = "netTotal")
    private Double price;

    /**
     * 卖家税号
     */
    @Schema(description = "卖家税号")
    private String sellerTaxId;

    /**
     * 买家税号
     */
    @Schema(description = "买家税号")
    private String buyerTaxId;
}
